﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuakeStats
{
    sealed class SingleContext : QuakeStatsEntities
    {

        private SingleContext()
        {
        }

        public static SingleContext Instance
        {
            get
            {
                return Nested.instance;
            }
        }

        class Nested
        {
            // Explicit static constructor to tell C# compiler
            // not to mark type as beforefieldinit
            static Nested()
            {
            }

            internal static readonly SingleContext instance = new SingleContext();
        }

    }
}
